package com.itheima.sc.pojo.ums;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.Date;

@TableName( value ="ums_resource" )
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UmsResource  implements Serializable {

	private static final long serialVersionUID =  5376381017063411599L;

   	@TableField( "id" )
	private Long id;

	/**
	 * 创建时间
	 */
   	@TableField( "create_time" )
	private Date createTime;

	/**
	 * 资源名称
	 */
   	@TableField( "name" )
	private String name;

	/**
	 * 资源URL
	 */
   	@TableField( "url" )
	private String url;

	/**
	 * 描述
	 */
   	@TableField( "description" )
	private String description;

	/**
	 * 资源分类ID
	 */
   	@TableField( "category_id" )
	private Long categoryId;

}